{% include "header.html" %}
<h2>Sign In</h2>
<form action="/safc/signin/" method="post">
    {% if form.subject.errors %}
        <ol>
        {% for error in form.subject.errors %}
            <li><b>{{ error|escape }}</b></li>
        {% endfor %}
        </ol>
    {% endif %}
    <table cellpadding="3" cellspacing="3" border="0">
        <tr>
            <td class="t"><label for="id_email">Username:</label></td>
            <td>{{ form.username }}</td>
            <td>{{ form.username.errors }}</td>
        </tr>
        <tr>
            <td class="t"><label for="id_password">Password:</label></td>
            <td>{{ form.password }}</td>
            <td>{{ form.password.errors }}</td>
        </tr>
        <tr>
            <td colspan="3">Dont have an account? <a href="/safc/createaccount/">Create one</a></td>
        </tr>
    </table>
    <p><input type="submit" value="Submit" /></p>
</form>
{% include "footer.html" %}
